[INFO] fetching crate dbent-derive 0.1.0...
[INFO] checking dbent-derive-0.1.0 against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770
[INFO] extracting crate dbent-derive 0.1.0 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate dbent-derive 0.1.0
[INFO] finished tweaking crates.io crate dbent-derive 0.1.0
[INFO] tweaked toml for crates.io crate dbent-derive 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate dbent-derive 0.1.0 on toolchain 82310651b93a594a3fd69015e1562186a080d94c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 36 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.106)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1068220666df6d4df181a9bfc08b921cdc54cb384603efc3dbe8aafb984e0549
[INFO] running `Command { std: "docker" "start" "-a" "1068220666df6d4df181a9bfc08b921cdc54cb384603efc3dbe8aafb984e0549", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1068220666df6d4df181a9bfc08b921cdc54cb384603efc3dbe8aafb984e0549", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1068220666df6d4df181a9bfc08b921cdc54cb384603efc3dbe8aafb984e0549", kill_on_drop: false }`
[INFO] [stdout] 1068220666df6d4df181a9bfc08b921cdc54cb384603efc3dbe8aafb984e0549
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6398a14f3ba94526feb3503cc869a468bedc20b6af0703585bdb780ec58abcb1
[INFO] running `Command { std: "docker" "start" "-a" "6398a14f3ba94526feb3503cc869a468bedc20b6af0703585bdb780ec58abcb1", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]    Compiling target-triple v0.1.4
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking toml_writer v1.0.2
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking toml_parser v1.0.2
[INFO] [stderr]    Compiling dbent-derive v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking toml_datetime v0.7.0
[INFO] [stderr]     Checking serde_spanned v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]     Checking toml v0.9.5
[INFO] [stderr]     Checking trybuild v1.0.110
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dbent`
[INFO] [stdout]  --> src/tests.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use dbent::prelude::*;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `dbent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dbent`, use `cargo add dbent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Entity` in this scope
[INFO] [stdout]   --> src/tests.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Default, Entity)]
[INFO] [stdout]    |                       ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Entity` in this scope
[INFO] [stdout]   --> src/tests.rs:30:21
[INFO] [stdout]    |
[INFO] [stdout] 30 |     #[derive(Clone, Entity)]
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Entity` in this scope
[INFO] [stdout]   --> src/tests.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     #[derive(Entity)]
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Label` in this scope
[INFO] [stdout]   --> src/tests.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[derive(Label)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Label;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `label` in this scope
[INFO] [stdout]   --> src/tests.rs:65:11
[INFO] [stdout]    |
[INFO] [stdout] 65 |         #[label] data: String,
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Entity` in this scope
[INFO] [stdout]   --> src/tests.rs:76:21
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[derive(Clone, Entity, Label)]
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Label` in this scope
[INFO] [stdout]   --> src/tests.rs:76:29
[INFO] [stdout]    |
[INFO] [stdout] 76 |     #[derive(Clone, Entity, Label)]
[INFO] [stdout]    |                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Label;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `label` in this scope
[INFO] [stdout]   --> src/tests.rs:79:11
[INFO] [stdout]    |
[INFO] [stdout] 79 |         #[label] data: String,
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Entity` in this scope
[INFO] [stdout]   --> src/tests.rs:82:14
[INFO] [stdout]    |
[INFO] [stdout] 82 |     #[derive(Entity)]
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]    |
[INFO] [stdout] 3  + use crate::Entity;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 16 -         id: Key<Int>,
[INFO] [stdout] 16 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 16 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 15 |     struct Model<Int> {
[INFO] [stdout]    |                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:32:17
[INFO] [stdout]    |
[INFO] [stdout] 32 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 32 -         id: Key<Int>,
[INFO] [stdout] 32 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 32 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 31 |     struct Model1<Int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:38:17
[INFO] [stdout]    |
[INFO] [stdout] 38 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 38 -         id: Key<Int>,
[INFO] [stdout] 38 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 38 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 37 |     struct Model2<Int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityInt` in this scope
[INFO] [stdout]   --> src/tests.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |         model1: EntityInt<Model1>,
[INFO] [stdout]    |                 ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 64 -         id: Key<Int>,
[INFO] [stdout] 64 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 64 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Model<Int> {
[INFO] [stdout]    |                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:78:17
[INFO] [stdout]    |
[INFO] [stdout] 78 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 78 -         id: Key<Int>,
[INFO] [stdout] 78 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 78 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 77 |     struct Model1<Int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Key` in this scope
[INFO] [stdout]   --> src/tests.rs:84:13
[INFO] [stdout]    |
[INFO] [stdout] 84 |         id: Key<Int>,
[INFO] [stdout]    |             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Int` in this scope
[INFO] [stdout]   --> src/tests.rs:84:17
[INFO] [stdout]    |
[INFO] [stdout] 84 |         id: Key<Int>,
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]   --> /rustc/82310651b93a594a3fd69015e1562186a080d94c/library/core/src/convert/mod.rs:450:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: similarly named trait `Into` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: there is an enum variant `syn::Lit::Int`; try using the variant's enum
[INFO] [stdout]    |
[INFO] [stdout] 84 -         id: Key<Int>,
[INFO] [stdout] 84 +         id: Key<syn::Lit>,
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 84 |         id: Key<Into>,
[INFO] [stdout]    |                    +
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 83 |     struct Model2<Int> {
[INFO] [stdout]    |                  +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EntityLabelInt` in this scope
[INFO] [stdout]   --> src/tests.rs:86:17
[INFO] [stdout]    |
[INFO] [stdout] 86 |         model1: EntityLabelInt<Model1>,
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:20:29
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let model = Model { id: Key::new(1), data: "Data".to_owned() };
[INFO] [stdout]    |                             ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key::Model` in the current scope
[INFO] [stdout]   --> src/tests.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 15 |     struct Model {
[INFO] [stdout]    |     ------------ method `key` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 21 |     assert_eq!(model.key()?, &Key::new(1));
[INFO] [stdout]    |                      ^^^ method not found in `tests::test_key::Model`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `key`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `toml_writer::TomlWrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 21 |     assert_eq!(model.key()?, &Key::new(1));
[INFO] [stdout]    |                               ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key::Model` in the current scope
[INFO] [stdout]   --> src/tests.rs:23:19
[INFO] [stdout]    |
[INFO] [stdout] 15 |     struct Model {
[INFO] [stdout]    |     ------------ method `key` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 23 |     assert!(model.key()?.is_none());
[INFO] [stdout]    |                   ^^^ method not found in `tests::test_key::Model`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `key`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `toml_writer::TomlWrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:43:31
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let model1 = Model1 { id: Key::new(1), data: "Data".to_owned() };
[INFO] [stdout]    |                               ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:44:35
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let mut model2 = Model2 { id: Key::new(1), data: "Data".to_owned(), model1: model1.clone().into() };
[INFO] [stdout]    |                                   ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `key` found for struct `tests::test_key_on_entity::Model1` in the current scope
[INFO] [stdout]   --> src/tests.rs:45:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |     struct Model1 {
[INFO] [stdout]    |     ------------- method `key` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 45 |     assert_eq!(model1.key()?, model2.model1.key()?);
[INFO] [stdout]    |                       ^^^ method not found in `tests::test_key_on_entity::Model1`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following trait defines an item `key`, perhaps you need to implement it:
[INFO] [stdout]            candidate #1: `toml_writer::TomlWrite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:47:21
[INFO] [stdout]    |
[INFO] [stdout] 47 |     model2.model1 = Key::new(2).into_entity();
[INFO] [stdout]    |                     ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 48 |     assert_eq!(model2.model1.key()?, &Key::new(2));
[INFO] [stdout]    |                                       ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Entity`
[INFO] [stdout]   --> src/tests.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |     model2.model1 = Entity::None;
[INFO] [stdout]    |                     ^^^^^^ use of undeclared type `Entity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let model = Model { id: Key::new(1), data: "Data".to_owned() };
[INFO] [stdout]    |                             ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `label` found for struct `tests::test_label::Model` in the current scope
[INFO] [stdout]   --> src/tests.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 63 |     struct Model {
[INFO] [stdout]    |     ------------ method `label` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 69 |     assert_eq!(model.label()?, "Data");
[INFO] [stdout]    |                      ^^^^^ method not found in `tests::test_label::Model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:89:31
[INFO] [stdout]    |
[INFO] [stdout] 89 |     let model1 = Model1 { id: Key::new(1), data: "Data".to_owned() };
[INFO] [stdout]    |                               ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:90:35
[INFO] [stdout]    |
[INFO] [stdout] 90 |     let mut model2 = Model2 { id: Key::new(1), data: "Data".to_owned(), model1: model1.clone().into() };
[INFO] [stdout]    |                                   ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `label` found for struct `tests::test_label_on_entity_label::Model1` in the current scope
[INFO] [stdout]   --> src/tests.rs:91:23
[INFO] [stdout]    |
[INFO] [stdout] 77 |     struct Model1 {
[INFO] [stdout]    |     ------------- method `label` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 91 |     assert_eq!(model1.label()?, model2.model1.label()?);
[INFO] [stdout]    |                       ^^^^^ method not found in `tests::test_label_on_entity_label::Model1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityLabel`
[INFO] [stdout]   --> src/tests.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 93 |     model2.model1 = EntityLabel::KeyLabel(Key::new(2), "Data2".to_owned());
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of undeclared type `EntityLabel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key`
[INFO] [stdout]   --> src/tests.rs:93:43
[INFO] [stdout]    |
[INFO] [stdout] 93 |     model2.model1 = EntityLabel::KeyLabel(Key::new(2), "Data2".to_owned());
[INFO] [stdout]    |                                           ^^^ use of undeclared type `Key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityLabel`
[INFO] [stdout]   --> src/tests.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |     model2.model1 = EntityLabel::None;
[INFO] [stdout]    |                     ^^^^^^^^^^^ use of undeclared type `EntityLabel`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dbent`
[INFO] [stdout]  --> src/tests.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | type Result = dbent::Result<()>;
[INFO] [stdout]   |               ^^^^^ use of unresolved module or unlinked crate `dbent`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `dbent`, use `cargo add dbent` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dbent-derive` (lib test) due to 43 previous errors
[INFO] running `Command { std: "docker" "inspect" "6398a14f3ba94526feb3503cc869a468bedc20b6af0703585bdb780ec58abcb1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6398a14f3ba94526feb3503cc869a468bedc20b6af0703585bdb780ec58abcb1", kill_on_drop: false }`
[INFO] [stdout] 6398a14f3ba94526feb3503cc869a468bedc20b6af0703585bdb780ec58abcb1
